/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-05-11
 * Time: 16:22
 */

//立体声类
public class Stereo {

    //饿汉式
    private static Stereo instance = new Stereo();

    public static Stereo getInstance(){
        return instance;
    }

    //打开
    public void on(){
        System.out.println(" Stereo on");
    }

    //关闭
    public void off(){
        System.out.println("Screen down");
    }

    //调大
    public void up(){
        System.out.println("调大音量");
    }

}
